package com.xhga.transaction.common.redis;

/**
 * Created by xhga on 2019/4/19.
 */
public class RedisConfig {
    /**
     * 库存key前缀
     */
    public static final String GOODS_COUNT = "goods_count_";

    /**
     * 事务类型
     */
    public static final String TRANSACTION_TYPE = "transaction_type#";

    /**
     * 分布式锁:获得No
     */
    public static final String LOCK_GET_NO = "lock_getNo#";

    /**
     * 分布式锁:添加日志
     */
    public static final String LOCK_ADD_LOG = "lock_addLog#";

}
